<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户登录页面</title>
</head>
<body>
<h1>用户登录:</h1>
<form th:action="@{/user/login}" method="post">
   username: <input type="text" name="name"><br>
   password:   <input type="text" name="password"><br>
    <input type="submit" value="登录">
</form>

</body>
</html>